package com.bjh.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AgentDao {
    /**
     * 通过账号或者手机号获取代理商
     * @param account 账号或者手机号
     * @return {@link Map}
     * @throws Exception Exception
     */
    Map<String, Object> getAgentByAccountOrMobile (String account) throws Exception;
}
